package com.lanyun.carworld.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lanyun.carworld.model.dto.user.PostCreateRequest;
import com.lanyun.carworld.model.entity.Post;

/**
* @author 29074
* @description 针对表【post(帖子)】的数据库操作Service
* @createDate 2024-06-13 14:47:55
*/
public interface PostService extends IService<Post> {

    /**
     * 创建帖子
     * @return
     */
    Long create(Long userId, PostCreateRequest request);
}
